package controller;

import dao.DeleteGroupDao;

public class DeleteGroupController {

    private final DeleteGroupDao deleteGroupDao = new DeleteGroupDao();

    public void deleteGroup(String groupName) {
        deleteGroupDao.delGroup(groupName);
    }

    public void deleteGroupMessage(String groupName) {
        deleteGroupDao.delGroupMessage(groupName);
    }
}